package com.thinkverse.user.dto;

import com.thinkverse.user.enums.RoleEnum;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDateTime;
@Data
@AllArgsConstructor
public class LoginResponse {
    private String token;
    private LocalDateTime expireTime;
    private UserSummary user;

    @Data
    @AllArgsConstructor
    public static class UserSummary {
        private Long id;
        private String username;
        private RoleEnum role;
    }
}
